package com.buaa.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class MapStoreDTO {

    @NotBlank(message = "请填写省")
    private String province;

    private String city;

    private String district;

    @NotBlank(message = "请填写地区的拼音")
    private String pinyin;

    @NotNull(message = "请填写adcode")
    private Integer adcode;

    @NotBlank(message = "请上传地图GEO数据")
    private String geo;
}
